package com.bootdo.system.service.impl;

import com.bootdo.system.dao.SmstableDao;
import com.bootdo.system.domain.SmstableDO;
import com.bootdo.system.service.SmstableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SmstableServiceImpl implements SmstableService {
	@Autowired
	private SmstableDao smstableDao;
	
	@Override
	public SmstableDO get(Integer id){
		return smstableDao.get(id);
	}
	
	@Override
	public List<SmstableDO> list(Map<String, Object> map){
		return smstableDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return smstableDao.count(map);
	}
	
	@Override
	public int save(SmstableDO smstable){
		return smstableDao.save(smstable);
	}
	
	@Override
	public int update(SmstableDO smstable){
		return smstableDao.update(smstable);
	}
	
	@Override
	public int remove(Integer id){
		return smstableDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return smstableDao.batchRemove(ids);
	}
	
}
